package com.yjd.bi.growing.service;

import com.yjd.comm.base.service.IBaseService;
import com.yjd.bi.growing.model.UserGrowingGroupModel;

/**
 * <b>description</b>：用户成长群组业务接口<br>
 * <b>time</b>：2018-08-15 14:33:49 <br>
 * <b>author</b>：  weili valie.lin@foxmail.com
 */
public interface IUserGrowingGroupService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public UserGrowingGroupModel insert(UserGrowingGroupModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(UserGrowingGroupModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param group_id
	 * @return
	 * @throws Exception
	 */
	public int delete(long group_id) throws Exception;

}
